#version 300 es

/**
 *  Sematics:
        POSITION    = 0,
        NORMAL      = 1,
        TANGENT     = 2,
        COLOR       = 3,
        TEXCOORD0   = 4,
        TEXCOORD1   = 5,
        TEXCOORD2   = 6,
        TEXCOORD3   = 7,
        TEXCOORD4   = 8,
        TEXCOORD5   = 9,
        TEXCOORD6   = 10,
        TEXCOORD7   = 11,
 */

layout (location = 0) in vec4 pos;
layout (location = 4) in vec2 uv;

out vec2 frag_uv;

uniform mat4 mat_model;

void main() {
    frag_uv = uv;
    gl_Position = mat_model * pos;
}
